package cn.com.roy.thread.t7_6.threadgroup1;

public class MyThread extends Thread{
    private String num;
    public MyThread(ThreadGroup group ,String name,String num){
        super(group,name);
        this.num = num;
    }

    @Override
    public void run() {
        super.run();
        int numInt = Integer.parseInt(num);
        while(true){
            System.out.println("死循环中：" + Thread.currentThread().getName());
            for (int i = 0; i < 10000000; i++) {

            }
        }
    }
}
